package com.gitee.candy.constant;

/**
 * @author ：suyanlong
 * @date ：Created in 2020/10/16 16:54
 * @description：常量类
 * @version: V1.0
 */
public class ConstantUtils {

    public final static String UTF8 = "UTF-8";

    // 十六进制
    public final static char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};

    // 验证数字的正则
    public static final String NUMBER_REG_ALL = "^[0-9]+(.[0-9]+)?$";

    public static final int NUMBER_UNIT_STEP = 4;

    public static String[] NUMBER_UNITS = new String[]{"个", "十", "百", "千", "万", "十", "百", "千", "亿", "十", "百", "千", "万"};

    public static final String[] NUMBER_STRINGS = {"零", "一", "二", "三", "四", "五", "六", "七", "八", "九"};

    public static final String DATE_YEAR = "年"; // 年

    public static final String DATE_LEAP = "闰"; // 闰

    public static final String DATE_MONTH = "月"; // 月

    public static final String DATE_DAY = "日"; // 日

    public static final String DATE_FORMAT_YYYY_MM_DD_ROD = "yyyy-MM-dd";

    public static final String DATE_FORMAT_YYYY_MM_DD_SLASH = "yyyy/MM/dd";

    public static final String DATE_FORMAT_YYYY_MM_DD_CHINESE = "yyyy年MM月dd日";

    public static final String[] DATE_DAY_CHINESE = {"初", "十", "廿", "卅"};

    public static final String[] DATE_DAY_CHINA = {"初十", "二十", "三十"};

    public static final String[] DATE_HEAVENLY_STEMS = {"甲", "乙", "丙", "丁", "戊", "己", "庚", "辛", "壬", "癸"}; // 天干

    public static final String[] DATE_EARTHLY_BRANCHES = {"子", "丑", "寅", "卯", "辰", "巳", "午", "未", "申", "酉", "戌", "亥"}; // 地支

    public static final String[] DATE_ZODIAC = {"鼠", "牛", "虎", "兔", "龙", "蛇", "马", "羊", "猴", "鸡", "狗", "猪"}; // 属相

    public static final String[] DATE_MONTH_CHINESE = {"正", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "腊"}; // 月份

    public static final String[] DATE_MONTH_NUMBER = {"一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"}; // 月份

    public static final String[] DATE_WEEK_CHINESE = {"星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"}; // 星期

    public static final String[] DATE_WEEK_ENG = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"}; // 星期

    public static final String DATE_MM_DD_HH_MM_SS_SSS = "MMddHHmmssSSS";

    public final static String DATE_yyyyMMddHHmmss = "yyyyMMddHHmmss";

    public final static String DATE_YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";

    public final static String DATE_YYYYMMDD = "yyyyMMdd";

    public final static String DATE_YYYY_MM_DD = "yyyy-MM-dd";

    public final static String DATE_HHMMSS = "HHmmss";

    public final static String TRACE_ID = "traceId";

}
